package richbar.com.richbar.bean;

import com.common.base.BaseResult;

/**
 * Created by QiYang on 2018/12/5.
 */

public class VersionResult extends BaseResult {

    /**
     * code : 200
     * msg : 请求成功
     * data : {"info":{"id":2,"name":"店铺bug修复","version":"1.2","time":"2018-12-20 11:19:30","dev":1,"content":"1.修复bug"},"error":0}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * info : {"id":2,"name":"店铺bug修复","version":"1.2","time":"2018-12-20 11:19:30","dev":1,"content":"1.修复bug"}
         * error : 0
         */

        private InfoEntity info;
        private int error;

        public InfoEntity getInfo() {
            return info;
        }

        public void setInfo(InfoEntity info) {
            this.info = info;
        }

        public int getError() {
            return error;
        }

        public void setError(int error) {
            this.error = error;
        }

        public static class InfoEntity {
            /**
             * id : 2
             * name : 店铺bug修复
             * version : 1.2
             * time : 2018-12-20 11:19:30
             * dev : 1
             * content : 1.修复bug
             */

            private int id;
            private String name;
            private String version;
            private String time;
            private int dev;
            private String content;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public int getDev() {
                return dev;
            }

            public void setDev(int dev) {
                this.dev = dev;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
